//
//  Target_B.m
//  OCMediatorTestB
//
//  Created by dafiger on 2020.04.14.
//  Copyright © 2020 dafiger. All rights reserved.
//

#import "Target_B.h"

#import "SecondVC.h"

typedef void(^Callback)(NSString *result);

@implementation Target_B

- (UIViewController *)Action_SecondVC:(NSDictionary *)params {
     void(^callback)(NSDictionary *info) = [params valueForKeyPath:@"callback"];
    
    SecondVC *VC = [SecondVC new];
    
    NSDictionary *info = @{@"show":@"找到SecondVC"};
    callback(info);
    
    return VC;
}

@end
